//
//  DYInviteRecordsVC.m
//  kafuMerchant
//
//  Created by 帝云科技 on 2018/9/14.
//  Copyright © 2018年 帝云科技. All rights reserved.
//

#import "DYInviteRecordsVC.h"
#import "DYInviteShopListVC.h"
#import "DYInviteUserListVC.h"

@interface DYInviteRecordsVC ()

@end

@implementation DYInviteRecordsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title=@"邀请记录";
}
-(void)dy_initData
{
    [super dy_initData];
    self.titleArray=@[@"邀请用户",@"邀请商家"];
}
-(void)dy_initUI
{
    [super dy_initUI];
    
    self.segmentView.titleFont=kFont(16);
    
    DYInviteUserListVC *vc1=[[DYInviteUserListVC alloc]init];
    [self addChildViewController:vc1];
    
    DYInviteShopListVC  *vc2=[[DYInviteShopListVC alloc]init];
    [self addChildViewController:vc2];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
